import axios from '../utils/http'
//设备列表
export const devicesList = (data)=>{
    return axios.get('/devices/list',{params:data})
}
//设备添加
export const devicesAdd = (data)=>{
    return axios.post('/devices/add',data)
}
//设备修改
export const devicesUpdate = (data)=>{
    return axios.post('/devices/update',data)
}
//设备删除
export const devicesDelete = (data)=>{
    return axios.post('/devices/delete',data)
}